import request from '@/utils/request.js'

import {useTokenStore} from '@/stores/token.js'







export const levelListService = (params)=>{
    return  request.get('/admin/level/list',{params:params})
 }


export const levelAddService = (level)=>{
    return request.post('/admin/level/add',level);

}

export const levelUpdateService = (level)=>{
    return  request.post('/admin/level/edit',level)
}
export const mileLevelDelService = (params)=>{
    return  request.get('/admin/level/del',{params:params})
}